home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / GMS / GMSDev / Includes / pragmas / dpkernel_extras.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-01  |  603 b   |  32 lines

  1.  
  2. #ifdef __STORM__
  3.  #pragma tagcall(DPKBase,0x05A,InitTags(a1,a0))
  4.  #pragma amicall(DPKBase,0x3B4,InitTagList(a1,a0))
  5. #endif
  6.  
  7. #ifdef __SASC_60
  8.  #pragma tagcall DPKBase InitTags         05A 8902
  9. #endif
  10.  
  11. #if defined(_DCC) || defined(__SASC)
  12.  #pragma libcall DPKBase InitTagList         05A 8902
  13.  #pragma libcall DPKBase AddSysObjectTagList 1BC 89003
  14. #endif
  15.  
  16. #ifdef _DCC
  17.  #include <exec/types.h>
  18.  
  19.  #ifndef HYPER
  20.  #define HYPER
  21.  #endif
  22.  
  23.  typedef struct TagItem TagItem;
  24.  
  25.  APTR
  26.  HYPER ## InitTags(APTR container, tag1, ...)
  27.  unsigned long tag1;
  28.  { return(InitTagList(container, (TagItem *)&tag1)); }
  29.  
  30. #endif
  31.  
  32.